package com.ruoyi.conversation.service;

import java.util.List;
import com.ruoyi.conversation.domain.Conversation;

/**
 * 客服对话Service接口
 * 
 * @author ruoyi
 * @date 2025-01-09
 */
public interface IConversationService 
{
    /**
     * 查询客服对话
     * 
     * @param conversationId 客服对话主键
     * @return 客服对话
     */
    public Conversation selectConversationByConversationId(Long conversationId);

    /**
     * 查询客服对话列表
     * 
     * @param conversation 客服对话
     * @return 客服对话集合
     */
    public List<Conversation> selectConversationList(Conversation conversation);

    /**
     * 新增客服对话
     * 
     * @param conversation 客服对话
     * @return 结果
     */
    public int insertConversation(Conversation conversation);

    /**
     * 修改客服对话
     * 
     * @param conversation 客服对话
     * @return 结果
     */
    public int updateConversation(Conversation conversation);

    /**
     * 批量删除客服对话
     * 
     * @param conversationIds 需要删除的客服对话主键集合
     * @return 结果
     */
    public int deleteConversationByConversationIds(Long[] conversationIds);

    /**
     * 删除客服对话信息
     * 
     * @param conversationId 客服对话主键
     * @return 结果
     */
    public int deleteConversationByConversationId(Long conversationId);
}
